<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新增</title>
<link rel="stylesheet" href="${ctx}/css/base.css">
<link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all">
</head>
<body>
	<div class="body_top_marger10 body_center">
		<div class="layui-main layui-form-pane" style="width: 400px">
			<form class="layui-form" action="">
			
				<div class="layui-form-item">
					<label class="layui-form-label"><font color="red">*</font>型号名称</label>
					<div class="layui-input-inline">
						<input type="text" id="assetModelName" name="assetModelName" placeholder="请输入资产型号名称"
							autocomplete="off" class="layui-input">
					</div>
					<br />
					<label class="layui-form-label" style="margin-top: 10px"><font color="red">*</font>资产类型</label>
					<div class="layui-input-inline" style="margin-top: 10px">
						<select id="assetTypeSelect" name="assetTypeSelect" required lay-verify="required" >
								 <option value="">搜索选择</option>
								 <c:forEach var="assetType" items="${assetTypeAll}">
									 <option value="${assetType.id}">${assetType.name}</option>
							     </c:forEach>
							</select>
					</div>
				</div>
				
				<div class="layui-form-item" style="margin-top: 10px">
					<div class="body_center">
						<button class="layui-btn" lay-submit lay-filter="formSubmit">保存</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>
		</div>
	</div>
	
	<script src="${ctx}/js/jquery.min.js"></script>
	<script src="${ctx}/layui/layui.js"></script>
	
	<script type="text/javascript">
		var rootPath = '${ctx}';
	</script>
	
	<script src="${ctx}/js/jfTable.js"></script>
	<script src="${ctx}/js/assetmodel/assetmodel_add.js"></script>
</body>
</html>